module.exports = {
    devServer: {
        proxy: {
            "/api/constellations": {
                // 后台接口域名
                target: "https://api.allyx.cn:5457/",

                // 是否跨域
                changeOrigin: true,
                ws: true,
                secure: true,
                pathRewrite: {
                    '^/api/constellations': '/constellations'
                }
            },
        },
        open: true,
        overlay: {
            warnings: false,
            errors: false
        },
    }
}